package com.woniuxy.service;

import java.util.List;

import com.woniuxy.entity.GymCoach;
import com.woniuxy.entity.Message;
import com.woniuxy.entity.PageBean;
/**
 * 
 * @author lishuwei&zenglingzhong
 *
 */
public interface MessageService {
	void addMsg(long sid,long aid,String content);

	List<Message> showUnread(long id);
	
	PageBean<Message> getUnreadByPage(long id,String status,int page);

	void markToReaded(int id);

	int getUnreadedNum(long id);

	int handleOrder(int id,String status, String role);
	
	void handleSign(int id,String status,String role);

	boolean outMoneyReq(int id, double num);

	int payOrder(Integer oid);

	
	
}
